function xOut = ctranspose(xIn)
  xOut.v = xIn.v';
  xOut.d = permute(xIn.d,[1 3 2]);
  xOut=class(xOut,'der1');
